
//
//  UIViewController+BackButton.m
//  BadBoy
//
//  Created by wen on 2017/3/10.
//  Copyright © 2017年 com.8xiong. All rights reserved.
//

#import "UIViewController+BackButton.h"
#import <objc/runtime.h>

@implementation UIViewController (BackButton)

static const char *guest = "guest";

- (void)loginSuccessRefresh{
    
}

- (NSString *)userGuest{
    return objc_getAssociatedObject(self, &guest);
}

- (void)setUserGuest:(NSString *)userGuest{
    objc_setAssociatedObject(self, &guest, userGuest, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}
@end
